/**
 * 预览图片
 * @param {Array} filePath
 */
export function previewImage(filePath) {
    uni.previewImage({
        urls: filePath,
        longPressActions: {
            itemList: ['发送给朋友', '保存图片', '收藏'],
            success: res => {
                console.log('选中了第' + (res.tapIndex + 1) + '个按钮,第' + (res.index + 1) +
                    '张图片')
            },
            fail: err => {
                console.log(err.errMsg)
            }
        }
    })
}

// module.exports = {
//     previewImage,
// };
